package utils

import (
	"github.com/gogf/gf/text/gstr"
	"strings"
)

func TrimSplitStr(org string) []string {
	if gstr.Trim(org) == "" {
		return []string{}
	}
	var slice []string
	if gstr.Trim(org) != "" {
		slice = strings.Split(org, ",")
		for k, v := range slice {
			slice[k] = gstr.Trim(v)
		}
	}

	return slice
}
